[tox]
envlist = py{27,35,36,37,38}, flake8, manifest

[testenv:flake8]
basepython = python3.7
deps = flake8>=3.7,<4
commands =
    flake8 gql tests

[testenv:manifest]
basepython = python3.7
deps = check-manifest>=0.40,<1
commands =
    check-manifest -v

[testenv]
setenv =
    PYTHONPATH = {toxinidir}
    MULTIDICT_NO_EXTENSIONS = 1
    YARL_NO_EXTENSIONS = 1
deps =
    pytest>=3,<4
    pytest-cov>=2.8,<3
    mock>=3,<4
    vcrpy>=2.1,<3
commands =
    pytest --cov=gql tests {posargs}
